﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gnosis.Alexandria.Model
{
    public class ContentType
        : NamedCodedBase, IContentType
    {
        private ContentType(long id, string name, string code)
        {
            InitializeField("Id", id);
            InitializeField("Name", name);
            InitializeField("Code", code);
        }

        public override string RecordName
        {
            get { return "ContentType"; }
        }

        public static readonly ContentType Application = new ContentType(1, "Application", "application");
        public static readonly ContentType Audio = new ContentType(2, "Audio", "audio");
        public static readonly ContentType Image = new ContentType(3, "Image", "image");
        public static readonly ContentType Message = new ContentType(4, "Message", "message");
        public static readonly ContentType Model = new ContentType(5, "3D Model", "model");
        public static readonly ContentType Multipart = new ContentType(6, "Multipart", "multipart");
        public static readonly ContentType Text = new ContentType(7, "Text", "text");
        public static readonly ContentType Video = new ContentType(8, "Video", "video");
    }
}
